package com.yuan.ssm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yuan.ssm.entity.DataRule;
import com.yuan.ssm.mapper.DataRuleMapper;
import com.yuan.ssm.service.DataRuleService;
@Service
public class DataRuleServiceImpl implements DataRuleService{
	@Autowired
	private DataRuleMapper dataRuleMapper;
	@Override
	public DataRule get(String ruleNo) {
		return dataRuleMapper.getRuleByRuleNo(ruleNo);
	}

}
